package com.coding.springboot.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by qince on 2015/7/3.
 */
@Entity
@Table(name = "t_user")
public class TUser extends IDEntity{
    @Column(name = "NAME",length = 64)
    private String name;

    @Column(name = "BIRTHDAY")
    private Date birthday;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "TUser{" +
                "name='" + name + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}

